#! /usr/bin/python
"""
Loliland is a python game that lets you play as either gothic or sweet lolitas
in a world inhabitted by dolls and stuffed animals.
"""
import pygame
resolution = (640,480)

def endgame():
    pygame.quit()
    exit()
    return 0

def main():
    # initiialize shit
    pygame.init()
    screen = pygame.display.set_mode(resolution)
    pygame.display.set_caption("Loliland")
    keyboard = pygame.key.get_pressed()
    pretty_font = pygame.font.Font(pygame.font.get_default_font(), 24)
    # game loop
    text_surf = pretty_font.render("Welcome to Loliland...", 0,
        (255,255,255,255))
    while True:
        for event in pygame.event.get():
            if event.type == pygame.QUIT:
                endgame()
        screen.blit(text_surf, (0,0))

main()

